package com.sz.common.pay.citic.entity.query;

import com.sz.common.pay.citic.constant.RequestCode;
import lombok.Data;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * Created by siqishangshu on 17/10/10.
 *
 *		余额查询

 对应请求代码：DLBALQRY
 特别说明：该交易可查询多个活期账号的余额。一般情况下，账号不建议多于10个。

 *<?xml version="1.0" encoding="GBK"?>
 <stream>
 <action>DLBALQRY</action>
 <userName></userName><!--登录名 varchar(30)-->
 <list name="userDataList">
	 <row>
	 <accountNo></accountNo><!--账号char(19)-->
	 </row>
 </list>
 </stream>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "stream")
@Data
public class BalanceReq {

    private String action = RequestCode.BALANCE_QUERY;  //"DLBALQRY";
    private String userName;							//<!--登录名 varchar(30)-->

	@XmlElementWrapper(name = "list")
	@XmlElement(name = "row")
	private List<BalanceNo> list;
}
